package work.jame.blog.service;

import work.jame.blog.pojo.UserWallpaperRelation;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Jame
 * @since 2023-05-26
 */
public interface UserWallpaperRelationService extends IService<UserWallpaperRelation> {


    /**
     * 查询用户是否拥有该壁纸
     * @param userId 用户id
     * @param wallpaperId 壁纸id
     * @return
     */
    boolean queryUserHaveWallpaper(Long userId,Long wallpaperId);
}
